package com.lengmou.entity;

public class Goods {
    private int id;
    private String name;
    private double price;
    private int state;
    private int type;
    private String img;

    public Goods() {
    }

    public Goods(int id, String name, double price, int state, int type, String img) {
        this.id = id;
        this.name = name;
        this.price = price;
        this.state = state;
        this.type = type;
        this.img = img;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    @Override
    public String toString() {
        return "Goods{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", price=" + price +
                ", state=" + state +
                ", type=" + type +
                ", img='" + img + '\'' +
                '}';
    }
}
